package com.kingyun.gpsinspection.purificationservice.common.activiti;

import bsh.Interpreter;

import java.util.Map;

/**
 * java 脚本语言工具类
 */
public final class ScriptUtil {

    private static ScriptUtil scriptUtil=new ScriptUtil();

    private static Interpreter interpreter = new Interpreter();
    private ScriptUtil(){

    }

    public static ScriptUtil getInstance(){
        if(scriptUtil==null){
            scriptUtil=new ScriptUtil();
        }
        return scriptUtil;
    }

    public boolean computCondition(Map<String,Object> variableMap){

        return false;
    }
}
